package edu.sctu.practice.class02.zengguangchuan.assign2;

/**
 * Created by lenovo0 on 2015/10/10.
 */
public class Rational {
    public int a;
    public int b;

    public Rational(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public int getPlus() {
        return a + b;
    }

    public int getMiuns() {
        return a - b;
    }

    public int getMutiply() {
        return a * b;
    }

    public int getDivide() {
        return a / b;
    }

}
